<link rel="stylesheet" href="/assets/css/common.css"/>
<link rel="stylesheet" href="/assets/css/add-address.css"/>
<link rel="stylesheet" href="/assets/css/menu.css"/>
<link rel="stylesheet" href="/assets/css/ico-topbar-white.css"/>
<link rel="stylesheet" href="/assets/css/bottom.css"/>

<@extends name="/project/ico-topbar-white.ftl"/>
<div class="all">
    <@extends name="/project/menu.ftl"/>
        <div class="content">
            <div class="inve-title clearfix">
                <i></i>
                <h3>地址管理</h3>
            </div>
            <div class="main-top clearfix">
                <div class="inputs clearfix">
                    <div class="bz">
                        <span>币种</span>
                        <select name="" id="select">
                        <#list coinList as coin>
                            <option class="coin-option" value="${coin.coinName}" data-id="${coin.id}">${coin.coinName}</option>
                        </#list>
                        </select>
                    </div>
                    <em class="empty">--</em>
                    <div class="address">
                        <span>提币地址</span>
                        <input type="text" class="coin-address">
                    </div>
                    <em class="empty">--</em>
                    <div class="note">
                        <span>备注</span>
                        <input type="text" class="remark">
                    </div>
                </div>

                <div class="add-btns">
                    <a href="javascript:void(0)" class="add-btn">添加地址</a>

                </div>
                <p class="err-info"></p>
            </div>
            <h1>地址列表</h1>
            <table>
                <thead>
                <tr>
                    <td class="bz">币种</td>
                    <td class="address">提币地址</td>
                    <td class="remark">备注</td>
                    <td class="option">操作</td>
                </tr>
                </thead>
                <tbody>
                <#list addressList as address>
                <tr>
                    <td class="bz">${address.coinName}</td>
                    <td class="time">${address.address}</td>
                    <td class="hash">${address.remark}</td>
                    <td class="option"><a href="javascript:void(0)" class="delete" data-id="${address.id}">删除</a></td>
                </tr>
                </#list>
                </tbody>
            </table>
        </div>
</div>
<#--<@extends name="/project/bottom.ftl"/>-->

<#--<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>-->
<script src="/assets/script/jquery-1.8.2.min.js"></script>

<script src="/assets/script/common.js"></script>
<script src="/assets/script/add-address.js"></script>